How to Get SHA-1 & SHA-256 Keys for Firebase | Android Studio & Keytool Methods (2025)

How to Get SHA-1 & SHA-256 Keys for Firebase | Android Studio & Keytool Methods (2025) In this tutorial, you’ll learn **how to get SHA-1 and SHA-256 keys** for your Android app to integrate with **Firebase**, using both **Android Studio** and the **Keytool command-line method**. These keys are essential for enabling Firebase Authentication features like **Google Sign-In**, **Phone Auth**, and more. Whether you’re building a new Flutter, Kotlin, or Java Android app, this step-by-step guide will show you how to retrieve your app’s **digital fingerprints** the right way. --- ### 📌 Why SHA-1 & SHA-256 Are Important? Firebase requires the **SHA-1** and **SHA-256 certificate fingerprints** to verify your app’s authenticity and to enable features like: - Google Sign-In Authentication - Dynamic Links - App Invites - Phone Authentication - Android App Integrity - Firebase ML --- ### 🔧 Methods Covered in This Tutorial: #### ✅ **Method 1: Using Android Studio** 1. Open your Android project in Android Studio. 2. Navigate to: ``` Gradle - Your Project - Tasks - android - signingReport ``` 3. Double-click on `signingReport`. 4. SHA-1 and SHA-256 fingerprints will appear in the **Run** window for each build variant (debug/release). #### ✅ **Method 2: Using Keytool (Command Line)** 1. Open a terminal (or CMD on Windows). 2. Run the following command: ``` keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android ``` - On Windows, use the full path: `C:\Users\YourUsername\.android\debug.key
  2025/04/06      youtube

関連するプログラミング動画 [android]

Our Tag

最近投稿されたプログラミング学習動画

AWS Innovation with Parameta Solutions | Innovation Ambassadors | Amaz

Amazon

In this episode, we explore Parameta Sol...

  2025/04/07

The Lone Wolf generated with Amazon Nova Reel 1.1 | Amazon Web Service

Amazon

Amazon Nova Reel 1.1 enables the generat...

  2025/04/07

Color Burst generated with Amazon Nova Reel 1.1 | Amazon Web Services

Amazon

Amazon Nova Reel 1.1 enables the generat...

  2025/04/07

Underwater raccoon generated with Amazon Nova Reel 1.1 | Amazon Web Se

Amazon

Amazon Nova Reel 1.1 enables the generat...

  2025/04/07

Introducing Amazon Nova Reel 1.1 | Amazon Web Services

Amazon

Amazon Nova Reel 1.1 enables the generat...

  2025/04/07

How to Embed Interactive Visualizations in Jupyter Notebook using Plot

**Title:** How to Embed Interactive Visu...

  2025/04/07

Running Gemma on Mac and Windows PCs with Ollama

Microsoft

Discover how you can run Gemma on Mac an...

  2025/04/04

Let’s rewind it back to Google IO ‘24

Google

Get ready for #GoogleIO May 20-21, where...

  2025/04/03

Enhancing app performance in Android | Android Build Time

android
android

In this episode of Android Build Time, C...

  2025/04/03

Architecting for Multi-Cloud: AWS and Beyond with PwC

Amazon
cloud

This webinar explores the fundamentals o...

  2025/04/03